package com.flida.echart.basic.system.service.impl;

import com.flida.echart.basic.api.system.entity.Version;
import com.flida.echart.basic.system.dao.VersionDao;
import com.flida.echart.basic.system.service.IVersionServie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("versionServie")
public class VersionServieImpl implements IVersionServie {
    @Autowired
    private VersionDao versionDao;


    public int deleteByPrimaryKey(String version) {

        return versionDao.deleteByPrimaryKey(version);
    }


    public int insert(Version record) {

        return versionDao.insert(record);
    }


    public int insertSelective(Version record) {

        return versionDao.insertSelective(record);
    }


    public Version selectByPrimaryKey(String version) {

        return versionDao.selectByPrimaryKey(version);
    }


    public int updateByPrimaryKeySelective(Version record) {

        return versionDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(Version record) {

        return versionDao.updateByPrimaryKey(record);
    }

}
